<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>历史记录</title>
</head>
<body>
    <h1>历史记录</h1>
    <ul>
        {% for diary in diaries %}
        <li>
            日期: {{ diary.date }}, 天气: {{ diary.weather }}, 心情: {{ diary.mood }}, 大事件: {{ diary.event }}
        </li>
        {% endfor %}
    </ul>
    <a href="/">返回写日记</a>
</body>
</html>